package com.ymtms.settlement.service;

import com.ymtms.settlement.pojo.CustomerGoodsbillBalance;
import com.ymtms.settlement.pojo.GoodsbillMaster;
import com.ymtms.settlement.vo.GridRequest;
import com.ymtms.settlement.vo.GridResult;

public interface CustomerGoodsbillBalanceService {


    // 分页多条件查询 货运单结算项
    GridResult<GoodsbillMaster> queryGbmByPage(
            GridRequest gridRequest,
            GoodsbillMaster goodsbillMaster,
            String startTime, String endTime);

    // 将传来的货运单结算项数据核实并保存到数据库中
    public int save(Integer gmid, CustomerGoodsbillBalance customerGoodsbillBalance);

    /*-----------------------------货运单结算历史业务------------------------------*/

    // 分页多条件查询 货运单结算历史
    GridResult<CustomerGoodsbillBalance> queryCmbByPage(
            GridRequest gridRequest, CustomerGoodsbillBalance customerGoodsbillBalance,
            String startTime, String endTime);

    // 软删除 货运单结算历史
    int removeByCgsid(Integer cgsid);

    // 批量软删除 货运单结算历史
    int batchRemoveByCgsid(Integer[] keys);

}
